#

| Chapter 5 The C Shell |

## @

    @ variable = expression
    @ variable[n]  = expression
    @

Assign the value of the arithmetic `expression` to `variable`, or to the `n`th element of `variable` if the index `n` is specified. With no `variable` or `expression` specified, print the values of all shell variables (same as set). Expression operators as well as examples are listed under "Expressions," earlier in this section. Two special forms are also valid:

@ variable++ Increment variable by one.

@ variable- - Decrement variable by one.

Reference: while |  | 5.6 Built-in C Shell Commands